package com.wwmz.adapter.pattern.demo.login.v2.adapters;

import com.wwmz.adapter.pattern.demo.login.ResultMsg;

/**
 * Created by wumz on 2020/9/20 17:10
 */
public class LoginForQQAdapter extends AbstraceAdapter {
    @Override
    public boolean support(Object adapter) {
        return adapter instanceof LoginForQQAdapter;
    }

    @Override
    public ResultMsg login(String id, Object adapter) {
        if(!support(adapter)){return null;}
        return super.loginForRegist(id,null);
    }
}
